<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Generator" content="{$title}">
    <meta name="Keywords" content="{$title}">
    <meta name="Description" content="{$title}">
    <title>{$title}</title>
    <link href="__HOMECSS__/cart.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="__HOMEJS__/common.js"></script>
    <script type="text/javascript" src="__HOMEJS__/shopping_flow.js"></script></head>
<body>
<script type="text/javascript" src="__HOMEJS__/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="__HOMEJS__/jquery.json.js"></script>
<script type="text/javascript" src="__HOMEJS__/transport_jquery.js"></script>
<script type="text/javascript" src="__HOMEJS__/utils.js"></script>
<script type="text/javascript" src="__HOMEJS__/jquery.SuperSlide.js"></script>
<script type="text/javascript" src="__HOMEJS__/lizi_common.js"></script><div id="header">
    <div class="hd_bar" id="userinfo-bar">
        <div class="bd">
            <div class="logo">
                <a href="/">FD商城</a>
            </div>
            <div class="hd_lbar" style="display: block;" id="ECS_MEMBERZONE">
                <?php $user_session = session(C('FRONT_SESSION'))?>
                <a href="/" rel="nofollow">FD商城首页</a>
                <empty name="user_session">
                    <a href="{:U('Login/login')}">
                        <i class="iconfont">Œ</i>登 录
                    </a>
                    <a href="{:U('Login/register')}">注册</a>
                    <else />
                    <a href="#" class="usernav-link">
                        <img src="__STATICHOME__/images/kong.gif">
                        <span>{$user_session['account']}</span>
                    </a>
                    <a href="{:U('login/login_out')}">退出</a>
                </empty>

            </div>
            <ul class="hd-step">
                <li class="first on"><em>1</em>我的购物车<i></i></li>
                <li class="jt">&nbsp;</li>
                <li><em>2</em>确认订单信息<i></i></li>
                <li class="jt">&nbsp;</li>
                <li><em>3</em>成功提交订单<i></i></li>
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript" src="__HOMEJS__/lizi_flow.js"></script>
<script type="text/javascript" src="__HOMEJS__/showdiv.js"></script>
<script type="text/javascript">
    var user_name_empty = "请输入您的用户名！";
    var email_address_empty = "请输入您的电子邮件地址！";
    var email_address_error = "您输入的电子邮件地址格式不正确！";
    var mobile_address_empty = "请输入您的手机号！";
    var mobile_address_error = "您输入的手机号格式不正确！";
    var new_password_empty = "请输入您的新密码！";
    var confirm_password_empty = "请输入您的确认密码！";
    var both_password_error = "您两次输入的密码不一致！";
    var show_div_text = "请点击更新购物车按钮";
    var show_div_exit = "关闭";
</script>
<div id="main">
    <div class="top-next cle">
        <div class="fr">
            <a href="/" class="graybtn">继续购物</a>
            <a href="{:U('chect_out')}" class="btn" id="checkout-top">&nbsp;去结算&nbsp;</a>
        </div>
    </div>
    <div class="cart-box" id="cart-box">
        <div class="hd">
            <span class="no2" id="itemsnum-top">{$count}件商品</span>
            <span class="no4">单价</span>
            <span>数量</span>
            <span>小计</span>
        </div>
        <div class="goods-list">
            <ul>
                <foreach name="cart_goods" item="v" >
                    <li class="cle hover" style="border-bottom-style: none;">
                        <div class="pic">
                            <a href="{:U('Goods/detail')}?id={$v.goods_id}" target="_blank">
                                <img alt="{$v.goods_name}" src="{$v.litimg}"></a>
                        </div>
                        <div class="name">
                            <a href="{:U('Goods/detail')}?id={$v.goods_id}" target="_blank">{$v.goods_name}
                            <span style="color:#FF0000"></span>
                        </a>
                            <p></p>
                        </div>
                        <div class="price-xj">
                            <p><em>￥{$v.fd_price}</em></p>
                        </div>
                        <div class="nums">
                            <span class="minus" title="减少1个数量" onclick="flowClickCartNum({$v.goods_id},-1);">-</span>
                            <input type="text" id="goods_number_{$v.goods_id}" value="{$v.num}" onchange="flowClickCartNum({$v.goods_id},0)">
                            <span class="add" title="增加1个数量" onclick="flowClickCartNum({$v.goods_id},+1);">+</span> </div>
                        <div class="price-xj">
                            <span></span>
                            <em id="total_items_{$v.goods_id}">￥{$v.subtotal}</em>
                        </div>
                        <div class="del">
                            <a class="btn-del" href="javascript:if (confirm(&#39;您确实要把该商品移出购物车吗？&#39;)) location.href=&#39;{:U('out_cart')}?id={$v.goods_id}&#39;;">删除</a>
                        </div>
                    </li>
                </foreach>
            </ul>
        </div>
        <div class="fd cle">
            <div class="fl">
                <p class="no1">
                    <a id="del-all" href="{:U('clear_cart')}">清空购物车</a>
                </p>
                <p><a class="graybtn" href="/">继续购物</a></p>
            </div>
            <div class="fr" id="price-total">
                <p>
                    <span id="selectedCount">{$count}</span>件商品，总价：
                    <span class="red"><strong id="totalSkuPrice">￥{$all_price}</strong></span>
                </p>
                <p><a href="{:U('chect_out')}" class="btn">去结算</a></p>
            </div>
        </div>
    </div>
</div>
<include file="Template/Home/default/foot.html" />
<script type="text/javascript">
    var process_request = "正在处理您的请求...";
    var email_empty = "Email 为空";
    var email_invalid = "Email 不是合法的地址";
    var mobile_empty = "手机号码不能为空";
    var mobile_invalid = "手机号码不正确";
    var agreement = "您没有接受协议";
    var msn_invalid = "msn地址不是一个有效的邮件地址";
    var qq_invalid = "QQ号码不是一个有效的号码";
    var home_phone_invalid = "家庭电话不是一个有效号码";
    var office_phone_invalid = "办公电话不是一个有效号码";
    var mobile_phone_invalid = "手机号码不是一个有效号码";
    var msg_un_blank = "用户名不能为空";
    var msg_un_length = "用户名最长不得超过7个汉字";
    var msg_un_format = "用户名含有非法字符";
    var msg_un_registered = "用户名已经存在,请重新输入";
    var msg_can_rg = "可以注册";
    var msg_email_blank = "邮件地址不能为空";
    var msg_email_registered = "邮箱已存在,请重新输入";
    var msg_email_format = "邮件地址不合法";
    var msg_blank = "不能为空";
    var no_select_question = "您没有完成密码提示问题的操作";
    var passwd_balnk = "- 密码中不能包含空格";
    var username_exist = "用户名 %s 已经存在";
    var compare_no_goods = "您没有选定任何需要比较的商品或者比较的商品数少于 2 个。";
    var btn_buy = "购买";
    var is_cancel = "取消";
    var select_spe = "请选择商品属性";
</script>
</body>
</html>